package com.base.service;

import java.util.List;
import com.base.po.voip.Notices;
import com.base.utils.Page;

public interface NoticesService {

	int deleteByPrimaryKey(String id);

	int insert(Notices record);

	int insertSelective(Notices record);

	Notices selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(Notices record);

	int updateByPrimaryKey(Notices record);

	// 代理商
	List<Notices> selectByParentId(String parenid);

	// 搜索分页
	int countByAll(String userid, Integer type, String createtime);

	List<Notices> selectByAll(Page page, String userid, Integer type, String createtime);
}
